﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace NewI.Models
{
    public class NewI_Demo
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long NewI_DemoID { get; set; }
        [Required(ErrorMessage = "请输入站点名称.")]
        [StringLength(200)]

        public string ID { get; set; }
        [Required(ErrorMessage = "请输入显示名称.")]
        [StringLength(200)]

        public string Name { get; set; }
        [Required(ErrorMessage = "请输入存放位置.")]
        [StringLength(100)]
        public string Position { get; set; }
        [NotMapped]
        public string Domain { get; set; }
        public bool Released { get; set; }
        public long Tactic { get; set; }
        public DateTime Modtime { get; set; }
        public long Creator { get; set; }
    }
}
